package com.all.play.myapplication.page;

import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.all.play.myapplication.base.BasePager;
import com.all.play.myapplication.utils.LogUtil;

/**
 * Created by 聪明一只哈 on 2018/3/28.
 */

public class NetVideoPager extends BasePager {


    private TextView textView;

    public NetVideoPager(Context context) {
        super(context);
    }

    @Override
    public View initView() {
        textView = new TextView(context);
        textView.setTextSize(12);
        textView.setTextColor(Color.BLUE);
        textView.setGravity(Gravity.CENTER);
        return textView;
    }

    @Override
    public void initData() {
        super.initData();
        LogUtil.e("网络视频数据初始化");
        textView.setText("网络视频");

    }
}
